<div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.data.ScriptTagProxy-props"><img src="images/default/s.gif" class="item-icon icon-prop">Properties</a>&#13;<a class="inner-link" href="#Ext.data.ScriptTagProxy-methods"><img src="images/default/s.gif" class="item-icon icon-method">Methods</a>&#13;<a class="inner-link" href="#Ext.data.ScriptTagProxy-events"><img src="images/default/s.gif" class="item-icon icon-event">Events</a>&#13;<a class="inner-link" href="#Ext.data.ScriptTagProxy-configs"><img src="images/default/s.gif" class="item-icon icon-config">Config Options</a>&#13;<a class="bookmark" href="../docs/?class=Ext.data.ScriptTagProxy"><img src="images/default/s.gif" class="item-icon icon-fav">Direct Link</a>&#13;</div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.util.Observable.html" ext:member="" ext:cls="Ext.util.Observable">Observable</a>
  <img src="resources/elbow-end.gif"><a href="output/Ext.data.Proxy.html" ext:member="" ext:cls="Ext.data.Proxy">Proxy</a>
    <img src="resources/elbow-end.gif"><a href="output/Ext.data.ServerProxy.html" ext:member="" ext:cls="Ext.data.ServerProxy">ServerProxy</a>
      <img src="resources/elbow-end.gif">ScriptTagProxy</pre></div><h1>Class <a href="source/ScriptTagProxy.html#cls-Ext.data.ScriptTagProxy">Ext.data.ScriptTagProxy</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/ScriptTagProxy.html#cls-Ext.data.ScriptTagProxy">ScriptTagProxy.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/ScriptTagProxy.html#cls-Ext.data.ScriptTagProxy">ScriptTagProxy</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.data.ServerProxy.html" ext:cls="Ext.data.ServerProxy" ext:member="">ServerProxy</a></td></tr></table><div class="description"><p>An implementation of Ext.data.DataProxy that reads a data object from a URL which may be in a domain
other than the originating domain of the running page.</p>
<p><b>Note that if you are retrieving data from a page that is in a domain that is NOT the same as the originating domain
of the running page, you must use this class, rather than HttpProxy.</b></p>
<p>The content passed back from a server resource requested by a ScriptTagProxy <b>must</b> be executable JavaScript
source code because it is used as the source inside a &lt;script> tag.</p>
<p>In order for the browser to process the returned data, the server must wrap the data object
with a call to a callback function, the name of which is passed as a parameter by the ScriptTagProxy.
Below is a Java example for a servlet which returns data for either a ScriptTagProxy, or an HttpProxy
depending on whether the callback name was passed:</p>
<pre><code>boolean scriptTag = false;
String cb = request.getParameter(<em>"callback"</em>);
<b>if</b> (cb != null) {
    scriptTag = true;
    response.setContentType(<em>"text/javascript"</em>);
} <b>else</b> {
    response.setContentType(<em>"application/x-json"</em>);
}
Writer out = response.getWriter();
<b>if</b> (scriptTag) {
    out.write(cb + <em>"("</em>);
}
out.print(dataBlock.toJsonString());
<b>if</b> (scriptTag) {
    out.write(<em>");"</em>);
}</code></pre>
<p>Below is a PHP example to do the same thing:</p><pre><code>$callback = $_REQUEST[<em>'callback'</em>];

<i>// Create the output object.</i>
$output = array(<em>'a'</em> => <em>'Apple'</em>, <em>'b'</em> => <em>'Banana'</em>);

<i>//start output</i>
<b>if</b> ($callback) {
    header(<em>'Content-Type: text/javascript'</em>);
    echo $callback . <em>'('</em> . json_encode($output) . <em>');'</em>;
} <b>else</b> {
    header(<em>'Content-Type: application/x-json'</em>);
    echo json_encode($output);
}</code></pre>
<p>Below is the ASP.Net code to do the same thing:</p>
<pre><code>String jsonString = <em>"{success: true}"</em>;
String cb = Request.Params.Get(<em>"callback"</em>);
String responseString = <em>""</em>;
<b>if</b> (!String.IsNullOrEmpty(cb)) {
    responseString = cb + <em>"("</em> + jsonString + <em>")"</em>;
} <b>else</b> {
    responseString = jsonString;
}
Response.Write(responseString);</code></pre></div><div class="hr"></div><a id="Ext.data.ScriptTagProxy-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row  "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-autoAppendParams"></a><b><a href="source/ScriptTagProxy.html#cfg-Ext.data.ScriptTagProxy-autoAppendParams">autoAppendParams</a></b> : Boolean<div class="mdesc">True to automatically append the request's params to the generated url. Defaults to true</div></td><td class="msource">ScriptTagProxy</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-batchOrder"></a><b><a href="source/Proxy.html#cfg-Ext.data.Proxy-batchOrder">batchOrder</a></b> : String<div class="mdesc"><div class="short">Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this
to set a different ord...</div><div class="long">Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this
to set a different order for the batched CRUD actions to be executed in. Defaults to 'create,update,destroy'</div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#batchOrder" ext:member="#batchOrder" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-cacheString"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-cacheString">cacheString</a></b> : String<div class="mdesc">The name of the cache param added to the url when using noCache (defaults to "_dc")</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#cacheString" ext:member="#cacheString" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-callbackParam"></a><b><a href="source/ScriptTagProxy.html#cfg-Ext.data.ScriptTagProxy-callbackParam">callbackParam</a></b> : String<div class="mdesc"><div class="short">The name of the parameter to pass to the server which tells
the server the name of the callback function set up by th...</div><div class="long">The name of the parameter to pass to the server which tells
the server the name of the callback function set up by the load call to process the returned data object.
Defaults to "callback".<p>The server-side processing must read this parameter value, and generate
javascript output which calls this named function passing the data object as its only parameter.</div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-callbackPrefix"></a><b><a href="source/ScriptTagProxy.html#cfg-Ext.data.ScriptTagProxy-callbackPrefix">callbackPrefix</a></b> : String<div class="mdesc"><div class="short">The prefix string that is used to create a unique callback function name in the global scope. This can optionally
be ...</div><div class="long">The prefix string that is used to create a unique callback function name in the global scope. This can optionally
be modified to give control over how the callback string passed to the remote server is generated. Defaults to 'stcCallback'</div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-defaultReaderType"></a><b><a href="source/Proxy.html#cfg-Ext.data.Proxy-defaultReaderType">defaultReaderType</a></b> : String<div class="mdesc">The default registered reader type. Defaults to 'json'</div></td><td class="msource"><a href="output/Ext.data.Proxy.html#defaultReaderType" ext:member="#defaultReaderType" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-defaultWriterType"></a><b><a href="source/Proxy.html#cfg-Ext.data.Proxy-defaultWriterType">defaultWriterType</a></b> : String<div class="mdesc">The default registered writer type. Defaults to 'json'</div></td><td class="msource"><a href="output/Ext.data.Proxy.html#defaultWriterType" ext:member="#defaultWriterType" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-extraParams"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-extraParams">extraParams</a></b> : Object<div class="mdesc"><div class="short">Extra parameters that will be included on every request. Individual requests with params
of the same name will overri...</div><div class="long">Extra parameters that will be included on every request. Individual requests with params
of the same name will override these params when they are in conflict.</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#extraParams" ext:member="#extraParams" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-listeners"></a><b><a href="source/Observable.html#cfg-Ext.util.Observable-listeners">listeners</a></b> : Object<div class="mdesc"><div class="short">A config object containing one or more event handlers to be added to this
object during initialization.  This should ...</div><div class="long"><p>A config object containing one or more event handlers to be added to this
object during initialization.  This should be a valid listeners config object as specified in the
<a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> example for attaching multiple handlers at once.</p>
<br><p><b><u>DOM events from ExtJs <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a></u></b></p>
<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
is usually only done when extra value can be added. For example the <a href="output/Ext.DataView.html" ext:cls="Ext.DataView">DataView</a>'s
<b><code><a href="output/Ext.DataView.html#Ext.DataView-click" ext:member="click" ext:cls="Ext.DataView">click</a></code></b> event passing the node clicked on. To access DOM
events directly from a a child element of a Component, we need to specify this explicitly:
<pre><code><b>new</b> Ext.Panel({
    width: 400,
    height: 200,
    dockedItems: [{
        xtype: <em>'toolbar'</em>
    }],
    listeners: {
        click: {
            element: <em>'el'</em>, <i>//bind to the underlying el property on the panel</i>
            fn: <b>function</b>(){ console.log(<em>'click el'</em>); }
        },
        dblclick: {
            element: <em>'body'</em>, <i>//bind to the underlying body property on the panel</i>
            fn: <b>function</b>(){ console.log(<em>'dblclick body'</em>); }
        }
    }
});</code></pre>
</p></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#listeners" ext:member="#listeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-noCache"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-noCache">noCache</a></b> : Boolean<div class="mdesc">Defaults to true. Disable caching by adding a unique parameter
name to the request.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#noCache" ext:member="#noCache" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-recordParam"></a><b><a href="source/ScriptTagProxy.html#cfg-Ext.data.ScriptTagProxy-recordParam">recordParam</a></b> : String<div class="mdesc"><div class="short">The param name to use when passing records to the server (e.g. 'records=someEncodedRecordString').
Defaults to 'recor...</div><div class="long">The param name to use when passing records to the server (e.g. 'records=someEncodedRecordString').
Defaults to 'records'</div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="config-row  "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-scriptIdPrefix"></a><b><a href="source/ScriptTagProxy.html#cfg-Ext.data.ScriptTagProxy-scriptIdPrefix">scriptIdPrefix</a></b> : String<div class="mdesc">The prefix string that is used to create a unique ID for the injected script tag element (defaults to 'stcScript')</div></td><td class="msource">ScriptTagProxy</td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-timeout"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-timeout">timeout</a></b> : Number<div class="mdesc">The number of milliseconds to wait for a response. Defaults to 30 seconds.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#timeout" ext:member="#timeout" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-url"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-url">url</a></b> : String<div class="mdesc">The URL from which to request the data object.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#url" ext:member="#url" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr></tbody></table><a id="Ext.data.ScriptTagProxy-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row  "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-lastRequest"></a><b><a href="source/ScriptTagProxy.html#prop-Ext.data.ScriptTagProxy-lastRequest">lastRequest</a></b> : Ext.data.Request<div class="mdesc">Reference to the most recent request made through this Proxy. Used internally to clean up when the Proxy is destroyed</div></td><td class="msource">ScriptTagProxy</td></tr></tbody></table><a id="Ext.data.ScriptTagProxy-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-abort"></a><b><a href="source/ScriptTagProxy.html#method-Ext.data.ScriptTagProxy-abort">abort</a></b>()
    :
                                        void<div class="mdesc"><div class="short">Aborts the current server request if one is currently running</div><div class="long">Aborts the current server request if one is currently running<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addEvents"></a><b><a href="source/Observable.html#method-Ext.util.Observable-addEvents">addEvents</a></b>(&nbsp;<code>Object|String&nbsp;o</code>,&nbsp;<code>string&nbsp;Optional.</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Adds the specified events to the list of events which this Observable may fire.</div><div class="long">Adds the specified events to the list of events which this Observable may fire.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object|String<div class="sub-desc">Either an object with event names as properties with a value of <code>true</code>
or the first event name string if multiple event names are being passed as separate parameters.</div></li><li><code>Optional.</code> : string<div class="sub-desc">Event name if multiple event names are being passed as separate parameters.
Usage:<pre><code>this.addEvents(<em>'storeloaded'</em>, <em>'storecleared'</em>);</code></pre></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addEvents" ext:member="#addEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addListener"></a><b><a href="source/Observable.html#method-Ext.util.Observable-addListener">addListener</a></b>(&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;options</code>]</span>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Appends an event handler to this object.</div><div class="long">Appends an event handler to this object.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to listen for.</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration.
properties. This may contain any of the following properties:<ul>
<li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li>
<li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
<li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
<li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="output/Ext.util.DelayedTask.html" ext:cls="Ext.util.DelayedTask">Ext.util.DelayedTask</a> delayed
by the specified number of milliseconds. If the event fires again within that time, the original
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
<li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
if the event was bubbled up from a child Observable.</div></li>
<li><b>element</b> : String<div class="sub-desc">The element reference on the component to bind the event to. This is used to bind DOM events to underlying elements on <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a>. - This option is only valid for listeners bound to <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a></div></li>
</ul><br>
<p>
<b>Combining Options</b><br>
Using the options argument, it is possible to combine different types of listeners:<br>
<br>
A delayed, one-time listener.
<pre><code>myPanel.on(<em>'hide'</em>, this.onClick, this, {
single: true,
delay: 100
});</code></pre>
<p>
<b>Attaching multiple handlers in 1 call</b><br>
The method also allows for a single argument to be passed which is a config object containing properties
which specify multiple handlers.
<p></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addListener" ext:member="#addListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addManagedListener"></a><b><a href="source/Observable.html#method-Ext.util.Observable-addManagedListener">addManagedListener</a></b>(&nbsp;<code>Observable|Element&nbsp;item</code>,&nbsp;<code>Object|String&nbsp;ename</code>,&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>,&nbsp;<code>Object&nbsp;opt</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Adds listeners to any Observable object (or Element) which are automatically removed when this Component
is destroyed...</div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
is destroyed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>item</code> : Observable|Element<div class="sub-desc">The item to which to add a listener/listeners.</div></li><li><code>ename</code> : Object|String<div class="sub-desc">The event name, or an object containing event name properties.</div></li><li><code>fn</code> : Function<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the handler function.</div></li><li><code>scope</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the scope (<code>this</code> reference) in which the handler function is executed.</div></li><li><code>opt</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> options.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addManagedListener" ext:member="#addManagedListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-afterRequest"></a><b><a href="source/ScriptTagProxy.html#method-Ext.data.ScriptTagProxy-afterRequest">afterRequest</a></b>(&nbsp;<code>Ext.data.Request&nbsp;request</code>,&nbsp;<code>Boolean&nbsp;isLoaded</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Cleans up after a completed request by removing the now unnecessary script tag from the DOM. Also removes the 
global...</div><div class="long">Cleans up after a completed request by removing the now unnecessary script tag from the DOM. Also removes the 
global JSON-P callback function.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>request</code> : Ext.data.Request<div class="sub-desc">The request object</div></li><li><code>isLoaded</code> : Boolean<div class="sub-desc">True if the request completed successfully</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-batch"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-batch">batch</a></b>(&nbsp;<code>Object&nbsp;operations</code>,&nbsp;<code>Object&nbsp;listeners</code>&nbsp;)
    :
                                        Ext.data.Batch<div class="mdesc"><div class="short">Performs a batch of Operations, in the order specified by batchOrder. Used internally by
Ext.data.Store's sync method...</div><div class="long">Performs a batch of <a href="output/Ext.data.Operation.html" ext:cls="Ext.data.Operation">Operations</a>, in the order specified by <a href="output/Ext.data.Proxy.html#Ext.data.Proxy-batchOrder" ext:member="batchOrder" ext:cls="Ext.data.Proxy">batchOrder</a>. Used internally by
<a href="output/Ext.data.Store.html" ext:cls="Ext.data.Store">Ext.data.Store</a>'s <a href="output/Ext.data.Store.html#Ext.data.Store-sync" ext:member="sync" ext:cls="Ext.data.Store">sync</a> method. Example usage:
<pre><code>myProxy.batch({
create : [myModel1, myModel2],
update : [myModel3],
destroy: [myModel4, myModel5]
});</code></pre>
Where the myModel* above are <a href="output/Ext.data.Model.html" ext:cls="Ext.data.Model">Model</a> instances - in this case 1 and 2 are new instances and have not been 
saved before, 3 has been saved previously but needs to be updated, and 4 and 5 have already been saved but should now be destroyed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operations</code> : Object<div class="sub-desc">Object containing the Model instances to act upon, keyed by action name</div></li><li><code>listeners</code> : Object<div class="sub-desc">Optional listeners object passed straight through to the Batch - see <a href="output/Ext.data.Batch.html" ext:cls="Ext.data.Batch">Ext.data.Batch</a></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Batch</code><div class="sub-desc">The newly created Ext.data.Batch object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#batch" ext:member="#batch" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-buildRequest"></a><b><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-buildRequest">buildRequest</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>&nbsp;)
    :
                                        Ext.data.Request<div class="mdesc"><div class="short">Creates and returns an Ext.data.Request object based on the options passed by the Store
that this Proxy is attached t...</div><div class="long">Creates and returns an Ext.data.Request object based on the options passed by the <a href="output/Ext.data.Store.html" ext:cls="Ext.data.Store">Store</a>
that this Proxy is attached to.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The <a href="output/Ext.data.Operation.html" ext:cls="Ext.data.Operation">Operation</a> object to execute</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Request</code><div class="sub-desc">The request object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#buildRequest" ext:member="#buildRequest" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-buildUrl"></a><b><a href="source/ScriptTagProxy.html#method-Ext.data.ScriptTagProxy-buildUrl">buildUrl</a></b>(&nbsp;<code>Ext.data.Request&nbsp;request</code>&nbsp;)
    :
                                        String<div class="mdesc"><div class="short">Generates a url based on a given Ext.data.Request object. Adds the params and callback function name to the url</div><div class="long">Generates a url based on a given Ext.data.Request object. Adds the params and callback function name to the url<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>request</code> : Ext.data.Request<div class="sub-desc">The request object</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The url</div></li></ul></div></div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-clearListeners"></a><b><a href="source/Observable.html#method-Ext.util.Observable-clearListeners">clearListeners</a></b>()
    :
                                        void<div class="mdesc"><div class="short">Removes all listeners for this object including the managed listeners</div><div class="long">Removes all listeners for this object including the managed listeners<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#clearListeners" ext:member="#clearListeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-clearManagedListeners"></a><b><a href="source/Observable.html#method-Ext.util.Observable-clearManagedListeners">clearManagedListeners</a></b>()
    :
                                        void<div class="mdesc"><div class="short">Removes all managed listeners for this object.</div><div class="long">Removes all managed listeners for this object.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#clearManagedListeners" ext:member="#clearManagedListeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-create"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-create">create</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>,&nbsp;<code>Function&nbsp;callback</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Performs the given create operation.</div><div class="long">Performs the given create operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#create" ext:member="#create" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-destroy"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-destroy">destroy</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>,&nbsp;<code>Function&nbsp;callback</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Performs the given destroy operation.</div><div class="long">Performs the given destroy operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#destroy" ext:member="#destroy" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-doRequest"></a><b><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-doRequest">doRequest</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>,&nbsp;<code>Function&nbsp;callback</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">In ServerProxy subclasses, the create, read, update and destroy methods all pass
through to doRequest. Each ServerPro...</div><div class="long">In ServerProxy subclasses, the <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-create" ext:member="create" ext:cls="Ext.data.ServerProxy">create</a>, <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-read" ext:member="read" ext:cls="Ext.data.ServerProxy">read</a>, <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-update" ext:member="update" ext:cls="Ext.data.ServerProxy">update</a> and <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-destroy" ext:member="destroy" ext:cls="Ext.data.ServerProxy">destroy</a> methods all pass
through to doRequest. Each ServerProxy subclass must implement the doRequest method - see <a href="output/Ext.data.ScriptTagProxy.html" ext:cls="Ext.data.ScriptTagProxy">Ext.data.ScriptTagProxy</a>
and <a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy">Ext.data.AjaxProxy</a> for examples. This method carries the same signature as each of the methods that delegate to it.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Ext.data.Operation object</div></li><li><code>callback</code> : Function<div class="sub-desc">The callback function to call when the Operation has completed</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope in which to execute the callback</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#doRequest" ext:member="#doRequest" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-enableBubble"></a><b><a href="source/Observable.html#method-Ext.util.Observable-enableBubble">enableBubble</a></b>(&nbsp;<code>String/Array&nbsp;events</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="output/Ext.Component.getBubbleTarget.html" ext:cls="Ext.Component.getBubbleTarget">Ext.Component.getBubbleTarget</a>. The default
implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to
access the required target more quickly.</p>
<p>Example:</p><pre><code>Ext.override(Ext.form.Field, {
<i>//  Add functionality to Field&#39;s initComponent to enable the change event to bubble</i>
initComponent : Ext.createSequence(Ext.form.Field.prototype.initComponent, <b>function</b>() {
    this.enableBubble(<em>'change'</em>);
}),

<i>//  We know that we want Field&#39;s events to bubble directly to the FormPanel.</i>
getBubbleTarget : <b>function</b>() {
    <b>if</b> (!this.formPanel) {
        this.formPanel = this.findParentByType(<em>'form'</em>);
    }
    <b>return</b> this.formPanel;
}
});

<b>var</b> myForm = <b>new</b> Ext.formPanel({
title: <em>'User Details'</em>,
items: [{
    ...
}],
listeners: {
    change: <b>function</b>() {
        <i>// Title goes red <b>if</b> form has been modified.</i>
        myForm.header.setStyle(<em>'color'</em>, <em>'red'</em>);
    }
}
});</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>events</code> : String/Array<div class="sub-desc">The event name to bubble, or an Array of event names.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#enableBubble" ext:member="#enableBubble" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-encodeRecords"></a><b><a href="source/ScriptTagProxy.html#method-Ext.data.ScriptTagProxy-encodeRecords">encodeRecords</a></b>(&nbsp;<code>Array&nbsp;records</code>&nbsp;)
    :
                                        String<div class="mdesc"><div class="short">Encodes an array of records into a string suitable to be appended to the script src url. This is broken
out into its ...</div><div class="long">Encodes an array of records into a string suitable to be appended to the script src url. This is broken
out into its own function so that it can be easily overridden.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>records</code> : Array<div class="sub-desc">The records array</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The encoded records string</div></li></ul></div></div></div></td><td class="msource">ScriptTagProxy</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-fireEvent"></a><b><a href="source/Observable.html#method-Ext.util.Observable-fireEvent">fireEvent</a></b>(&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Object...&nbsp;args</code>&nbsp;)
    :
                                        Boolean<div class="mdesc"><div class="short">Fires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
<p>An event may be set to bubble up an Observable parent hierarchy (See <a href="output/Ext.Component.html#Ext.Component-getBubbleTarget" ext:member="getBubbleTarget" ext:cls="Ext.Component">Ext.Component.getBubbleTarget</a>)
by calling <a href="output/Ext.util.Observable.html#Ext.util.Observable-enableBubble" ext:member="enableBubble" ext:cls="Ext.util.Observable">enableBubble</a>.</p><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to fire.</div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers.</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#fireEvent" ext:member="#fireEvent" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getModel"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-getModel">getModel</a></b>()
    :
                                        Ext.data.Model<div class="mdesc"><div class="short">Returns the model attached to this Proxy</div><div class="long">Returns the model attached to this Proxy<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Model</code><div class="sub-desc">The model</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getModel" ext:member="#getModel" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getReader"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-getReader">getReader</a></b>()
    :
                                        Ext.data.Reader<div class="mdesc"><div class="short">Returns the reader currently attached to this proxy instance</div><div class="long">Returns the reader currently attached to this proxy instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Reader</code><div class="sub-desc">The Reader instance</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getReader" ext:member="#getReader" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getWriter"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-getWriter">getWriter</a></b>()
    :
                                        Ext.data.Writer<div class="mdesc"><div class="short">Returns the writer currently attached to this proxy instance</div><div class="long">Returns the writer currently attached to this proxy instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Writer</code><div class="sub-desc">The Writer instance</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getWriter" ext:member="#getWriter" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-hasListener"></a><b><a href="source/Observable.html#method-Ext.util.Observable-hasListener">hasListener</a></b>(&nbsp;<code>String&nbsp;eventName</code>&nbsp;)
    :
                                        Boolean<div class="mdesc"><div class="short">Checks to see if this object has any listeners for a specified event</div><div class="long">Checks to see if this object has any listeners for a specified event<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#hasListener" ext:member="#hasListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-on"></a><b><a href="source/Observable.html#method-Ext.util.Observable-on">on</a></b>(&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;options</code>]</span>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Appends an event handler to this object (shorthand for addListener.)</div><div class="long">Appends an event handler to this object (shorthand for <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a>.)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#on" ext:member="#on" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-read"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-read">read</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>,&nbsp;<code>Function&nbsp;callback</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Performs the given read operation.</div><div class="long">Performs the given read operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#read" ext:member="#read" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-relayEvents"></a><b><a href="source/Observable.html#method-Ext.util.Observable-relayEvents">relayEvents</a></b>(&nbsp;<code>Object&nbsp;o</code>,&nbsp;<code>Array&nbsp;events</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Relays selected events from the specified Observable as if the events were fired by this.</div><div class="long">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#relayEvents" ext:member="#relayEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-removeListener"></a><b><a href="source/Observable.html#method-Ext.util.Observable-removeListener">removeListener</a></b>(&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Removes an event handler.</div><div class="long">Removes an event handler.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event the handler was associated with.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope originally specified for the handler.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#removeListener" ext:member="#removeListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-removeManagedListener"></a><b><a href="source/Observable.html#method-Ext.util.Observable-removeManagedListener">removeManagedListener</a></b>(&nbsp;<code>Observable|Element&nbsp;item</code>,&nbsp;<code>Object|String&nbsp;ename</code>,&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Removes listeners that were added by the mon method.</div><div class="long">Removes listeners that were added by the <a href="output/Ext.util.Observable.html#Ext.util.Observable-mon" ext:member="mon" ext:cls="Ext.util.Observable">mon</a> method.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>item</code> : Observable|Element<div class="sub-desc">The item from which to remove a listener/listeners.</div></li><li><code>ename</code> : Object|String<div class="sub-desc">The event name, or an object containing event name properties.</div></li><li><code>fn</code> : Function<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the handler function.</div></li><li><code>scope</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the scope (<code>this</code> reference) in which the handler function is executed.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#removeManagedListener" ext:member="#removeManagedListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-resumeEvents"></a><b><a href="source/Observable.html#method-Ext.util.Observable-resumeEvents">resumeEvents</a></b>()
    :
                                        void<div class="mdesc"><div class="short">Resume firing events. (see suspendEvents)
If events were suspended using the queueSuspended parameter, then all
event...</div><div class="long">Resume firing events. (see <a href="output/Ext.util.Observable.html#Ext.util.Observable-suspendEvents" ext:member="suspendEvents" ext:cls="Ext.util.Observable">suspendEvents</a>)
If events were suspended using the <tt><b>queueSuspended</b></tt> parameter, then all
events fired during event suspension will be sent to any listeners now.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#resumeEvents" ext:member="#resumeEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setModel"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-setModel">setModel</a></b>(&nbsp;<code>String|Ext.data.Model&nbsp;model</code>,&nbsp;<code>Boolean&nbsp;setOnStore</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Sets the model associated with this proxy. This will only usually be called by a Store</div><div class="long">Sets the model associated with this proxy. This will only usually be called by a Store<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>model</code> : String|Ext.data.Model<div class="sub-desc">The new model. Can be either the model name string,
or a reference to the model's constructor</div></li><li><code>setOnStore</code> : Boolean<div class="sub-desc">Sets the new model on the associated Store, if one is present</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setModel" ext:member="#setModel" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setReader"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-setReader">setReader</a></b>(&nbsp;<code>String|Object|Ext.data.Reader&nbsp;reader</code>&nbsp;)
    :
                                        Ext.data.Reader<div class="mdesc"><div class="short">Sets the Proxy's Reader by string, config object or Reader instance</div><div class="long">Sets the Proxy's Reader by string, config object or Reader instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>reader</code> : String|Object|Ext.data.Reader<div class="sub-desc">The new Reader, which can be either a type string, a configuration object
or an Ext.data.Reader instance</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Reader</code><div class="sub-desc">The attached Reader object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setReader" ext:member="#setReader" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setWriter"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-setWriter">setWriter</a></b>(&nbsp;<code>String|Object|Ext.data.Writer&nbsp;writer</code>&nbsp;)
    :
                                        Ext.data.Writer<div class="mdesc"><div class="short">Sets the Proxy's Writer by string, config object or Writer instance</div><div class="long">Sets the Proxy's Writer by string, config object or Writer instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>writer</code> : String|Object|Ext.data.Writer<div class="sub-desc">The new Writer, which can be either a type string, a configuration object
or an Ext.data.Writer instance</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Writer</code><div class="sub-desc">The attached Writer object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setWriter" ext:member="#setWriter" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-suspendEvents"></a><b><a href="source/Observable.html#method-Ext.util.Observable-suspendEvents">suspendEvents</a></b>(&nbsp;<code>Boolean&nbsp;queueSuspended</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Suspend the firing of all events. (see resumeEvents)</div><div class="long">Suspend the firing of all events. (see <a href="output/Ext.util.Observable.html#Ext.util.Observable-resumeEvents" ext:member="resumeEvents" ext:cls="Ext.util.Observable">resumeEvents</a>)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>queueSuspended</code> : Boolean<div class="sub-desc">Pass as true to queue up suspended events to be fired
after the <a href="output/Ext.util.Observable.html#Ext.util.Observable-resumeEvents" ext:member="resumeEvents" ext:cls="Ext.util.Observable">resumeEvents</a> call instead of discarding all suspended events;</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#suspendEvents" ext:member="#suspendEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-un"></a><b><a href="source/Observable.html#method-Ext.util.Observable-un">un</a></b>(&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Removes an event handler (shorthand for removeListener.)</div><div class="long">Removes an event handler (shorthand for <a href="output/Ext.util.Observable.html#Ext.util.Observable-removeListener" ext:member="removeListener" ext:cls="Ext.util.Observable">removeListener</a>.)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event the handler was associated with.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope originally specified for the handler.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#un" ext:member="#un" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-update"></a><b><a href="source/Proxy.html#method-Ext.data.Proxy-update">update</a></b>(&nbsp;<code>Ext.data.Operation&nbsp;operation</code>,&nbsp;<code>Function&nbsp;callback</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
    :
                                        void<div class="mdesc"><div class="short">Performs the given update operation.</div><div class="long">Performs the given update operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#update" ext:member="#update" ext:cls="Ext.data.Proxy">Proxy</a></td></tr></tbody></table><a id="Ext.data.ScriptTagProxy-events"></a><h2>Public Events</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Event</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ScriptTagProxy-exception"></a><b><a href="source/ScriptTagProxy.html#event-Ext.data.ScriptTagProxy-exception">exception</a></b> :
                                      (&nbsp;<code>Ext.data.Proxy&nbsp;this</code>,&nbsp;<code>Ext.data.Request&nbsp;request</code>,&nbsp;<code>Ext.data.Operation&nbsp;operation</code>&nbsp;)
    <div class="mdesc"><div class="short">Fires when the server returns an exception</div><div class="long">Fires when the server returns an exception<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.data.Proxy<div class="sub-desc"></div></li><li><code>request</code> : Ext.data.Request<div class="sub-desc">The request that was sent</div></li><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The operation that triggered the request</div></li></ul></div></div></div></td><td class="msource">ScriptTagProxy</td></tr></tbody></table></div>